# 文件的复制 自动关闭
with open('flower.png', 'rb') as srcFile:
    with open('copy2_flower.png', 'wb') as targetFile:
        targetFile.write(srcFile.read())
